// 工厂模式
interface GameElementFactory {
    GameElement createElement(int x, int y);

    float getSpawnWeight();
}
